export interface IUserBase {
  id?: number
  username?: string
  nickname?: string
  phone?: string
  email?: string
  idcard?: null | string
  avatar?: string
  orgId?: number
  userTypeId?: number
  registerIp?: string
  registerTime?: string
  lastLoginIp?: null | string
  lastLoginTime?: null | string
  sex?: number
  status?: number
  enabled?: number
  createdAt?: string
  deletedAt?: null | string
  updatedAt?: string
  roles?: {
    id: number
    name: string
    code: string
  }[]
  org?: {
    id: number
    name: string
    code: string
  }
  jobs?: {
    id: number
    name: string
    code: string
  }[]
  userType?: {
    id: number
    name: string
    code: string
  }
}
